From 6de3c93f7f4970ddc5b5344b0231de0755d7a8f6 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 9 Oct 2008 10:16:49 +0100 Subject: [PATCH] xenpm: Fix typo bug. From: Guanqun Lu Signed-off-by: Keir Fraser --- tools/misc/xenpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/misc/xenpm.c b/tools/misc/xenpm.c index b705f0a6fa..fbe72b247e 100644 --- a/tools/misc/xenpm.c +++ b/tools/misc/xenpm.c @@ -161,7 +161,7 @@ int main(int argc, char **argv) break; } - ret = xc_pm_get_pxstat(xc_fd, 0, pxstat); + ret = xc_pm_get_pxstat(xc_fd, i, pxstat); if( ret ) { fprintf(stderr, "failed to get P-states statistics information\n"); free(pxstat->trans_pt); -- 2.30.2